package com.lkj;

public class C {

    protected JsonMsg jsonMsg;

    public String success(String msg,String code,String text,String body){
        jsonMsg.setRespMsg(msg);
        jsonMsg.setRespCode(code);
        jsonMsg.setCiphertext(text);
        jsonMsg.setBody(body);

        System.out.println("--------------C START--------------");
        System.out.println(jsonMsg);
        System.out.println("--------------C END--------------");
        return jsonMsg.toString();
    }


    public JsonMsg getJsonMsg() {
        return jsonMsg;
    }

    public void setJsonMsg(JsonMsg jsonMsg) {
        this.jsonMsg = jsonMsg;
    }



}
